<?php if (!defined('THINK_PATH')) exit();?>﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>文章管理</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link rel="stylesheet" href="http://public.weirongm.com/DaChongQing//NewsAdmin/css/style.css">
    <link rel="stylesheet" href="http://apps.bdimg.com/libs/bootstrap/3.2.0/css/bootstrap.css">
    <![if !IE]><script src="http://apps.bdimg.com/libs/jquery/2.1.1/jquery.js"></script><![endif]>
    <!--[if IE]> <script src="http://apps.bdimg.com/libs/jquery/1.9.0/jquery.js"></script> <![endif]-->
    <script src="http://public.weirongm.com/DaChongQing//NewsAdmin/js/style.js"></script>
    <style>
        .WallPaper{
            width:100px;
            height: 30px;
            position: fixed;
            bottom: 100px;
            left: 100px;
            /*background:blue;*/
        }
        .glyphicon{
            height:30px;
            width: 30px;
            font-weight: bold;
            color:#FFF;
            font-size: 18px;
            line-height: 7px;
            border:2px solid #FFF;
            border-radius: 100%;
            margin-left:10px;
            text-align: center;
            cursor: pointer;
        }
        .glyphicon:hover{
            /*color:red;*/
            background:blue;
        }
    </style>
</head>
<body style="background-image:url(http://public.weirongm.com/DaChongQing//NewsAdmin/images/shizi.jpg);background-position:top center;">
<!--菜单分类 begin-->
<div class="menu">
    <div class="search"><input type="text" id="search" name="search" placeholder="键入关键字搜索"><input type="button" value="search" id="search_button"></div>
    <p id="system">系统设置</p>
    <ul class="menu_list">
        <li>
            <p title="新闻" data-title='news'>发表文章</p>
            <p class="fbtime" title="">点击发表<br/>一篇新的文章</p>
            <p class="fbtime" title="">请认真对待哦<br/>MEDIVH</p>
        </li>
        <li>
            <p title="项目" data-title='obj'>文章列表</p>
            <p class="fbtime" title="">点击查看或修改<br/>一篇存在的文章</p>
            <p class="fbtime" title="">数据无价<br/>请谨慎操作</p>
        </li>
        <li>
            <p title="学员" data-title='students'>栏目分类</p>
            <p class="fbtime" title="">点击查看或修改<br/>栏目分类</p>
            <p class="fbtime" title="">数据无价<br/>请谨慎操作</p>
        </li>
    </ul>
</div>
<!--<div class="WallPaper">-->
    <!--<span class="glyphicon glyphicon-chevron-left"><</span>-->
    <!--<span class="glyphicon glyphicon-chevron-right">></span>-->
<!--</div>-->

</div>
<!--菜单分类 stop-->
<script>
    $('.menu_list > li').click(function(){
//        $('.menu').toggle(300);
        $('.body_content').slideDown(500);
        $('.body_content_y').slideDown(500);
        //需要扩展
        //$('.content > iframe').attr('src','http://www.qq.com/');
        var key=$(this).find('p:eq(0)').attr('data-title');
        var iframe = $('.content > iframe');
        //alert(key);
        switch(key){
            case 'news':
                iframe.attr('src','<?php echo U("News/publish");?>');
                break;
            case 'obj':
                iframe.attr('src','<?php echo U("News/NewsList?page=1");?>');
                break;
            case 'students':
                iframe.attr('src','<?php echo U("News/column");?>');
                break;
        }
    })
</script>
</body>
<div class="body_content">
</div>
<div class="body_content_y">
    <div class="body_content_close">X</div>
    <div class="content">
        <iframe src="" width="100%" height="100%" frameborder='0'  allowtransparency="false">
            后台管理使用了iframe框架技术，如果您使用的是谷歌浏览器看到了这行文字，请升级您的浏览器！
        </iframe>
    </div>
    </div>
</html>